package com.springlearn.springbootlearn.exception;

import lombok.Data;

@Data
public class CustomException extends RuntimeException{
    private int code;
    public CustomException(int code, String message){
        super(message);
        this.code = code;
    }

}
